package com.zlict.admin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zlict.common.annotation.Excel;
import com.zlict.common.core.domain.BaseEntity;

/**
 * 财务管理-科目维护对象 rd_finance_subject
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public class RdFinanceSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 支出类型 */
    @Excel(name = "支出类型")
    private String zctype;

    /** 科目代码 */
    @Excel(name = "科目代码")
    private String subjectcode;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String subjectname;

    /** 状态（开启，停用） */
    @Excel(name = "状态", readConverterExp = "开=启，停用")
    private String status;

    /** 补提（开启，关闭） */
    @Excel(name = "补提", readConverterExp = "开=启，关闭")
    private String bt;

    /** 类型配置（sys_dict_data lxpz） */
    @Excel(name = "类型配置", readConverterExp = "s=ys_dict_data,l=xpz")
    private String configtype;

    /** 来源（自筹资金，财政资金） */
    @Excel(name = "来源", readConverterExp = "自=筹资金，财政资金")
    private String source;

    /** 关联项目 */
    @Excel(name = "关联项目")
    private String projectid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setZctype(String zctype) 
    {
        this.zctype = zctype;
    }

    public String getZctype() 
    {
        return zctype;
    }

    public void setSubjectcode(String subjectcode) 
    {
        this.subjectcode = subjectcode;
    }

    public String getSubjectcode() 
    {
        return subjectcode;
    }

    public void setSubjectname(String subjectname) 
    {
        this.subjectname = subjectname;
    }

    public String getSubjectname() 
    {
        return subjectname;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setBt(String bt) 
    {
        this.bt = bt;
    }

    public String getBt() 
    {
        return bt;
    }

    public void setConfigtype(String configtype) 
    {
        this.configtype = configtype;
    }

    public String getConfigtype() 
    {
        return configtype;
    }

    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }

    public void setProjectid(String projectid) 
    {
        this.projectid = projectid;
    }

    public String getProjectid() 
    {
        return projectid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("number", getNumber())
            .append("type", getType())
            .append("zctype", getZctype())
            .append("subjectcode", getSubjectcode())
            .append("subjectname", getSubjectname())
            .append("status", getStatus())
            .append("bt", getBt())
            .append("configtype", getConfigtype())
            .append("source", getSource())
            .append("projectid", getProjectid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
